package com.cmc.cloud.cmclink.doc.vo.multimodaltransport.blnolinerpre;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 支线船名航次 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 支线船名航次 Request VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Valid
public class UpdateBlnoLinerPreAllReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29756")
    private List<Long> blnoIds;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29756")
    private List<Long> manifestIds;

    @Schema(description = "中转港")
    @NotBlank(message = "{BlnoLinerPrePageReqVO.tsPort.notBlank}")
    private String tsPort;

    @Schema(description = "Liner- Vsl old")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.linerVesselCodeOld.notBlank}")
    private String linerVesselCodeOld;

    @Schema(description = "Liner- Voy old")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.linerVoyageOld.notBlank}")
    private String linerVoyageOld;

    @Schema(description = "前程 船舶代码-Barge Vsl old")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.preVesselCodeOld.notBlank}")
    private String preVesselCodeOld;

    @Schema(description = "前程 船名航次-Barge Voy old")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.preVoyageCodeOld.notBlank}")
    private String preVoyageCodeOld;

    @Schema(description = "前程 船舶代码-Barge Vsl new")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.preVesselCodeNew.notBlank}")
    private String preVesselCodeNew;

    @Schema(description = "前程 船名航次-Barge Voy new")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.preVoyageCodeNew.notBlank}")
    private String preVoyageCodeNew;

    @Schema(description = "运输工具代码 操船方(合作方代码) new")
    @NotBlank(message = "{UpdateBlnoLinerPreAllReqVO.prePartnerCodeNew.notBlank}")
    private String prePartnerCodeNew;
}
